home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / Q-R / ResGenie™ 1.0 / ResGenie™ / ResGenie™.rsrc / TEXT_181_makeqtbrowser.txt < prev    next >
Encoding:
Text File  |  1993-08-02  |  974 b   |  26 lines

  1.  set cursor to "cross"
  2.   put "Drag to place your new QuickTime‚Ñ¢ browsing frame"
  3.   wait until the mouseclick
  4.   do put the mouseloc into start
  5.   do put rubberbandRect(item 1 of start, item 2 of start) into where
  6.   set cursor to watch
  7.   do put ResText("TEXT","QT Browser", ColorAuthoringPath) into test
  8.   set lockscreen to true
  9.   domenu "New Button"
  10.   
  11.   if there is a bg btn "New Button" then
  12.   do put "bg btn id" && the id of bg btn "New Button" into unique
  13.   do set the name of  unique to "QT Browser"
  14.   end if
  15.   
  16.   if there is a  btn "New Button" then
  17.   do put "btn id" && the id of btn "New Button" into unique
  18.   do set the name of  unique to "QT Browser"
  19.   end if
  20.   do set the rect of unique to where
  21.   do set the script of unique to test
  22.   do set the style of unique to rectangle
  23.   do set the showname of unique to true
  24.   put "Here is your new QuickTime‚Ñ¢ Browser frame"
  25.   if the visible of window Tool is false then show Tool window at 100, 10
  26.   choose "Browse" tool